This software is provided "AS-IS" on a trial shareware basis. The author is not responsible for any damage incurred to hardware, software, nor data files. Use of this software indicates acceptance of this agreement. Additionally, if the software is found to be beneficial to you or is used often, Please register by sending the author $5 US in either Check or Money Order form to: Trevor Burdick, 21 Seymour St, Binghamton, NY 13905, USA. This will allow me to continue to make adjustments, upgrades, and new features, as well as other Developer Utilities for use with REALbasic.
That said, let's take a look at what you've got here. FRMchewer was developed to deal with some of the more annoying menial tasks involved with importing VB form files into REALbasic. This small shareware utility provides a couple of services. You have a mere 2 buttons to press, and perhaps sometime soon i will add more features, depending on the interest in this utility.
BUTTON 1: Strip the code - i only want the form definition
Usually, i really only want the form, and none of the code. BUT....doing so normally means importing everything, then clicking each method or property, then picking delete out of the menu, and on and on...boring. Clicking this button will do all that for you. First, it wants you to pick the .FRM file to open. Then, You must select a place to put the NEW frm file. BE SURE YOU NAME THE FILE WITH A .FRM OR IT WILL NOT IMPORT INTO RB!! A nifty progress bar will indicvate it is working, as opposed to hung up, and when it is done, you will have a FRM file with just the window. WOW!
BUTTON 2: Strip the symbols from variable names
VB has a nasty thing with requiring type indicators within the variable names. These symbols [$,%,&] tend to be a problem for RB, so they must be eliminated when importing code. Also, in RB where you'd say: object.method, VB has it as object!method -- and digging through all this code making these changes is tedious, at best. Never fear! This button will do all that work for you -- simply click it, and select the FRM file you need processed. When the progress bar disappears, you've converted the FRM file and it's ready to go.
What this will NOT do
This program will NOT convert ucase to uppercase, and some of the other tricky things with importing. Nor will it make you a sandwich or fetch you another icy cool beer. It WILL halve your work in converting a VB form into RB...That much i can promise
How does it work?
Little blue men. Other than that, i'm not saying. Sorry.